-
Home
-
WooCommerce Attribute Stock – Shared Stock & Variable Quantities (Lite Version)
-
2.0.1
-
Code
-
Classes
- Installer
Total Complexity |
40 |
Dependencies |
7 |
Dependents |
2 |
Total lines |
258 |
Lines of code |
189 |
Logical lines of code |
80 |
Comment lines |
4 |
Methods |
19 |
Properties |
0 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
migrate_db_table_names() |
S |
54 |
5 |
21 |
migrations() |
S |
58 |
4 |
17 |
migrate_skus_to_metadata() |
S |
60 |
4 |
12 |
maybe_optimize_tables() |
S |
61 |
3 |
12 |
schema() |
S |
51 |
1 |
37 |
drop_tables() |
S |
65 |
3 |
9 |
init_data() |
S |
68 |
3 |
8 |
uninstall() |
S |
68 |
3 |
8 |
migrate_metadata_props_200() |
S |
60 |
1 |
15 |
maybe_sync_outofstock_products() |
S |
75 |
2 |
5 |
migrate_zero_excludes() |
S |
65 |
2 |
9 |
delete_attribute_stock() |
S |
69 |
2 |
6 |
add_capabilities() |
S |
79 |
1 |
3 |
delete_post_meta() |
S |
78 |
1 |
3 |
delete_options() |
S |
78 |
1 |
3 |
migrate_post_type() |
S |
73 |
1 |
5 |
register_tables() |
S |
80 |
1 |
3 |
migrate_settings() |
S |
70 |
1 |
6 |
tables() |
S |
71 |
1 |
7 |